package com.anbinh.doctor.model;

import java.util.ArrayList;

public class ResponsePermissionDetailt extends DataResponse {
	public Data data;

	public Data getData() {
		return data;
	}

	public class Data {
		private Permission permission;

		public Permission getPermission() {
			return permission;
		}
	}

	public class Permission {
		private String name;
		private int type;
		public ArrayList<Item> permissions;

		public ArrayList<Item> getPermissions() {
			return permissions;
		}

		public String getName() {
			return name;
		}

		public int getType() {
			return type;
		}
	}

	public class Item {
		public String name;
		public String label;
		public boolean isChecked=true;

		public void setChecked(boolean isChoosed) {
			this.isChecked = isChoosed;
		}

		public String getName() {
			return name;
		}

		public String getLabel() {
			return label;
		}

		public boolean isChecked() {
			return isChecked;
		}
	}
}
